
//
//  PoiFavViewController.h
//  FootPrint
//
//  Created by 秦 东方 on 4/10/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FavMerchantParser.h"
#import "POISelDelegate.h"

typedef  enum {
    ModeChoose,
    ModeManage,
} PoiOpenMode;

@interface PoiFavViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, FavMerchantDelegate, UIActionSheetDelegate>{

    bool _waitingServer;
    FavMerchantParser* _parser;
    int _selectIndex;
    PoiOpenMode _mode; //选择模式还是管理模式
}

@property (assign, nonatomic) id<POISelDelegate>    selDelegate;
@property (nonatomic, retain) UserFavoriteMerchantQueryResponseMessage* msgFav;
@property (retain, nonatomic) IBOutlet UITableView *tableFav;

- (void)setMode:(PoiOpenMode)openMode;

- (void)refreshData;

@end

